Parameter Types |
|
The following table describes the parameter types supported by Process Platform that enable you to map the source content to the target with all the necessary transformations based on the requirement.
Message Map Parameter Types
Parameter Type |
Description |
Availability |
---|---|---|
Select |
The Select parameter type denotes the XPath from which the input is considered. If the operation is of the type Select, then the Source column must contain a single XPath. |
Available in both Business Process Model and Case model. Note: When the value is left empty, the Case model results in a validation failure during design time. For the same scenario, a Business Process Model provides a warning message in design time and ignores the assignment during run time. |
Select Multiple |
The Select Multiple parameter type denotes the multiple XPath expressions from which the input must be considered.
|
Available in Business Process Model only. Not available in Case model. Note: To achieve the required functionality, use the Expression source type and provide the relevant XPath. |
Fixed Value |
In the parameter type Fixed Value, the value in the Source column is considered as a literal value. |
Available in both Business Process Model and Case model. Note: When the '<!CDATA[concat]]>' type of value is considered in a Business Process Model, the net result of such content evaluation results only in 'concact'. The same in a Case model results in '<!CDATA[concat]]>'. |
Expression |
In the parameter type Expression, the result of expression evaluation is considered as the source value for assignment. If the ' |
Available in both Business Process Model and Case model. Note: When the value is left empty, the Case model results in a validation failure during design time. For the same scenario, a Business Process Model provides a warning message in design time and ignores the assignment during run time. |
Children |
The Select parameter type denotes the XPath from which the input is considered. If the operation is of the type Children, then all the sub-elements are assigned to the target element. For example, all the tuple elements containing all orders can be assigned to the source element with the parameter type Children.
|
Available in Business Process Model only. Not available in Case model. Note: To achieve the required functionality, use the Expression source type and provide the relevant XPath. For example, if the children of the element Employees must be selected, then use |
First Child |
If the operation is of the type First Child, then only the first sub-element is assigned to the target element. For example, the first tuple element containing the first order can be assigned to the source element with the parameter type First Child.
|
Available in Business Process Model only. Not available in Case model. Note: To achieve the required functionality, use the Expression source type and provide the relevant XPath. For example, if the first child of the element Employees must be selected, then use |
Last Child |
If the operation is of the type Last Child, only the last sub-element is assigned to the target element. For example, the last tuple element containing the last order can be assigned to the source element with the parameter type Last Child.
|
Available in Business Process Model only. Not available in Case model. Note: To achieve the required functionality, use the Expression source type and provide the relevant XPath. For example, if the last child of the element Employees must be selected, then use |
XML Structure |
In the XML Structure parameter type, the complete XML structure must be specified in the source column. For example, <tuple> <new> <Orders> <OrderID>90</OrderID> </Orders> </new> </tuple> |
Available in both Business Process Model and Case model. Note: From this latest version of Process Platform, a Case model evaluates XML input, and provides a validation error if the XML input provided is invalid. |
Select with Target NS |
Same as Select above. If this option is selected, the namespace of the target element is considered. |
Available in Business Process Model only. Not available in Case model. |
Select Multiple with Target NS |
Same as Select Multiple above. If this option is selected, the namespace of the target elements are considered. |
Available in Business Process Model only. Not available in Case model. |
Children with Target NS |
Same as Children above. If this option is selected, the namespace of the target element is considered. |
Available in Business Process Model only. Not available in Case model. |
First Child with Target NS |
Same as First Child above. If this option is selected, the namespace of the target element is considered. |
Available in Business Process Model only. Not available in Case model. |
Last Child with Target NS |
Same as Last Child above. If this option is selected, the namespace of the target element is considered. |
Available in Business Process Model only. Not available in Case model. |
XML Structure with Target NS |
Same as XML Structure above. If this option is selected, the namespace of the target element is considered. |
Available in Business Process Model only. Not available in Case model. |
Note: The operations dealing with XML namespace manipulation, such as Replace content with target NS, are not considered to be made available in the Case model. This was provided in BPM message map to maintain backward compatibility with the C2 version of Process Platform.